import React from "react";
import { Row, Col} from "antd";
import { Route} from "react-router-dom";
import LearnCourseList from "./lcList";
import AddLearnCourse from "./addLC";
import EditLearnCourse from "./editLC";
class PersonalCenter extends React.Component {
  render() {
    return (
      <div className="admin-body" style={{ padding: 24, minHeight: 360 }}>
        <Row>
          <Col span={24}>
            <Route path="/admin/lc">
              <Route path="/admin/lc/l">
                <LearnCourseList />
              </Route>
              <Route path="/admin/lc/a">
                <AddLearnCourse />
              </Route>
              <Route path="/admin/lc/e">
                <EditLearnCourse />
              </Route>
            </Route>
          </Col>
        </Row>
      </div>
    );
  }
}

export default PersonalCenter;
